#include "matrixparser.h"
#include "jacobi.h"
#include <stdio.h>


int main (int argc, char *argv[])
{
    FILE *fp = fopen(argv[1],"r");
    struct DATA data;
    initializeData(&data,fp);
    /*printHeader(&data);*/
    data.x = solve_mpi(argc,argv,data.a, data.b, data.x, data.m_order, data.row_test,data.max_it, data.eps);
    removeDataStruct(&data);
    fclose(fp);
    return 0;
}
